package builder.main.itf;

import builder.main.base.AbstractBasePackage;
import builder.main.model.MobilePackage;

public class TwoMobileBuilderImpl extends AbstractBasePackage implements IMobileBuilder {

    //建造手机套餐的话费
    public void buildMoney() {
        this.mobilePackage.setMoney(30.0f);
    }

    //建造手机套餐的短信
    public void buildShortInfo() {
        this.mobilePackage.setShortInfo(600);
    }

    //建造手机套餐的彩铃
    public void buildMusic() {
        this.mobilePackage.setMusic("30元套餐彩铃");
    }

    //返回建造的手机套餐对象
    public MobilePackage getMobilePackage() {
        return this.mobilePackage;
    }
}
